/*
command buffer for data tranfer.
*/
#pragma once
#include <memory>
#include <vulkan/vulkan.h>


namespace vkinfer
{
    class VkTransfer
    {
    private:
        VkDevice device;
        VkQueue queue;
        VkCommandPool commandPool;
        VkCommandBuffer commandBuffer;

    public:
        VkTransfer(VkDevice device, VkQueue queue, uint32_t queue_index);
        ~VkTransfer();
        void copy(VkBuffer src, VkBuffer dst, VkDeviceSize size);
    };
}
